home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / swbprint / readme.txt < prev    next >
Encoding:
Text File  |  1999-02-09  |  3.4 KB  |  77 lines

  1. SWBPRINTER INFORMATION
  2. ======================
  3.  
  4. The SWBPrinter package includes:
  5.  
  6. SWBPrint.dll    The SWBPrinter DLL to be used by your VB projects.
  7. SWBPrint.hlp    A reference guide (help file) to using SWBPrinter.dll.
  8. TestPrt.vbp    A sample application that demonstrates the usage of SWBPrinter.
  9.  
  10. Before you begin, please copy the SWBPrint.DLL
  11. file to your \Windows\System directory (which
  12. may not necessarily be named \Windows\System).
  13.  
  14. Then register the component using REGSVR32.EXE,
  15. as follows:   
  16.  
  17. In the Start Menu, select "Run".  Then type:
  18.  
  19.     REGSVR32 \Windows\System\SWBPrint.DLL
  20.  
  21. A message box will confirm the registration.
  22.  
  23. To use the component in a project, add it to your
  24. project's references by using the Project|References
  25. menu selection, and checking the box next to:
  26. "SWBPrinter ActiveX Server" in the list.  If this
  27. entry does not appear in the list, then the component
  28. may not have been registered successfully using 
  29. REGSVR32.EXE.
  30.  
  31.  
  32. SWBPrint.dll was built with Visual Basic 6 (SP1).  If you do not have Service Pack 1 
  33. installed on your system, you may not have the correct versions of some of the 
  34. controls needed to run SWBPrinter.
  35.  
  36.  
  37. =====================================================================================
  38. Known Issues:
  39.  
  40. 1.When running an application in the VB6 IDE that calls the SWBPrinter PreviewReport
  41.   method more than once, SWBPrinter may issue a runtime error 405 (can't display modal
  42.   form in this context).  At this point, clicking Debug and pressing F5 to continue
  43.   will allow you to continue without problem, until the next PreviewReport method is
  44.   executed.  This error only occurs in the IDE, and will not occur if your application
  45.   is compiled and run outside of the environment.  You can avoid this error in the IDE
  46.   by hiding the application's form prior to calling PreviewReport, and then showing it
  47.   immediately after the preview returns, as follows:
  48.  
  49.                 Me.Hide
  50.                 SWBPrintEngine.PreviewReport
  51.                 Me.Show
  52.  
  53.   This allows you to run error free in the IDE and has no side effects, as your
  54.   application's form would not be visible during the preview anyway.  Again, this code
  55.   is not necessary when you compile your application and run it outside of the IDE.
  56.   Additionally, THIS PROBLEM DOES NOT EXIST WITH THE REGISTERED VERSION.  It is due to
  57.   the display of the "About" window in the unregistered version.
  58.  
  59. 2.The color palette is incorrect when previewing on a system that is configured for
  60.   256 colors.  If the system is configured for 16-bit color (65K colors) the color 
  61.   palette will be more accurate.
  62.  
  63. 3.This build of SWBPrinter has been changed slightly to remove the requirement for
  64.   the VB common dialog control as well as the VB common controls.  These requirements
  65.   added significantly to the redistribution size of SWBPrinter, and brought many
  66.   requests to "lighten" the control. In order to meet this request, the control
  67.   no longer offers the Printer Setup button when printing a report, either directly
  68.   or from the preview screen.  Users can still select the target printer, however,
  69.   there is no longer a facility to change printer setup or configuration options.
  70.  
  71. =====================================================================================
  72. Reports of bugs or suggestions of features can be forwarded to:
  73.  
  74.     Software with Brains, Inc.
  75.     support@softwarewithbrains.com
  76.  
  77.